package net.peelmeagrape.hibernate;

import net.peelmeagrape.hibernate.xmlgen.*;

import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Add a comment to the generated mapping xml.
 */
@Retention(RUNTIME)
@XmlElement(name="comment")
public @interface Comment
{
    @XmlText String value() default "";
}
